/*
 * Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
 *
 * https://www.mall4j.com/
 *
 * 未经允许，不可做商业用途！
 *
 * 版权所有，侵权必究！
 */
package com.dlc.shop.bean.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 平台地址库，用于国内收货地址和国外的发货地址
 * @author liyong
 */
@Data
@TableName("tz_platform_addr")
@Schema(description = "平台地址库，用于国内收货地址和国外的发货地址")
public class PlatformAddr implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
    private Long addrId;

    @Schema(description = "店铺id 默认为 0")
    private Long shopId;

    @Schema(description = "收货人名字")
    private String receiverName;

    @Schema(description = "收货人手机号码")
    private String receiverMobile;

    @Schema(description = "收货人座机")
    private String receiverTelephone;

    @Schema(description = "邮政编码")
    private String postCode;

    @Schema(description = "省id")
    private Long provinceId;

    @Schema(description = "省")
    private String province;

    @Schema(description = "城市id")
    private Long cityId;

    @Schema(description = "城市")
    private String city;

    @Schema(description = "区id")
    private Long areaId;

    @Schema(description = "区")
    private String area;

    @Schema(description = "具体地址")
    private String addr;

    @Schema(description = "默认地址(0:不是\1:是)")
    private Integer defaultAddr;

    @Schema(description = "状态(1:可用 0:不可用 -1:已删除)")
    private Integer status;

    @Schema(description = "更新时间")
    private Date updateTime;

    @Schema(description = "创建时间")
    private Date createTime;
}
